import java.awt.Color;
import java.util.ArrayList;
import java.util.Random;


public class DotGenerator {
	private ArrayList<Dot> dots;
	private int xdem;
	private int ydem;
	private Random generator;
	private Color[] colors = new Color[]{Color.RED,Color.BLUE,Color.YELLOW,Color.GREEN};
		


public DotGenerator(int x, int y){
	xdem=x;
	ydem=y;
	generator = new Random();
	dots = new ArrayList<Dot>();
		
	}
public void generateDot(){
	int radius = 30;
	int currX =  generator.nextInt(xdem);
	int currY =  generator.nextInt(ydem);
	float gA =   generator.nextFloat();
	float gB =  generator.nextFloat();
	float gC = generator.nextFloat();
	Color randColor = colors[generator.nextInt(colors.length)];
	dots.add(new Dot(randColor,radius,currX,currY));
	
	
	
	
}
public ArrayList<Dot> gDots(){
	return dots;
	
}
public void setSize(int x,int y){
	
}
	public static void main(String[] args) {
	

	}

}
